package Long.Lu.Service.Impl;


import Long.Lu.Dao.ArchivesDao;
import Long.Lu.Service.ArchivesService;
import Long.Lu.pojo.Archives;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArchivesServiceImpl implements ArchivesService {
    @Autowired
    private ArchivesDao archivesDao;

    @Override
    public List<Archives> selectAll() {
        return archivesDao.findAll();
    }
}
